package com.example.xmpic.mvp.contract;

import com.example.common.mvp.IBasePresenter;
import com.example.common.mvp.IBaseView;

/**
 * @author skygge
 * @date 2020/5/26.
 * GitHub：javofxu@github.com
 * email：skygge@yeah.net
 * description：添加摄像头业务逻辑
 */
public interface CameraIncreaseContract {

    interface IView extends IBaseView{

        void hasExits();

        void showToastMsg(String msg);

        void bindSuccess();

        void deleteSuccess();
    }

    interface IPresent extends IBasePresenter<IView>{

        void refreshModifyUserInfo(String deviceId, String name);

        void increaseCamera(String deviceId, String name);

        void deleteCamera(String userId);
    }
}
